
var os = require("os");

// 这里请根据实际的情况来做开发环境和实际产品环境的区分。
if (os.platform().match(/^win/)) {
	// 开发环境
	module.exports = {
		db: {
			host: "127.0.0.1",
			port: 3306,
			user: "root",
			password: "",
			database: "cs_service"
		},
		serverPort: 8882,
		cipherRawKey: "any string"
	};
}
else {
	// 产品部署环境
	module.exports = {
		db: {
			host: "127.0.0.1",
			port: 3306,
			user: "root",
			password: "",
			database: "cs_service"
		},
		serverPort: 8882,
		cipherRawKey: "any string"
	};
}